package com.example.houtai.service;

import com.example.houtai.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.org.dto.RoleDto;
import com.org.vo.ResultEntity;

/**
 * <p>
 * 角色 服务类
 * </p>
 *
 * @author 龚梦
 * @since 2021-03-22
 */
public interface ISysRoleService extends IService<SysRole> {

    PageInfo<RoleDto> listAll(RoleDto roleDto);

    ResultEntity insert(RoleDto roleDto);

    ResultEntity edit(RoleDto roleDto);

    ResultEntity delete(RoleDto roleDto);

    ResultEntity selRoleByDeptId(Integer deptId);
}
